<template>
  <div class="test-container">
    <h1>测试页面</h1>
    <p>如果您能看到这个页面，说明路由工作正常！</p>
    <div class="test-card">
      <h2>系统状态</h2>
      <ul>
        <li>✅ Vue 3 已加载</li>
        <li>✅ Router 工作正常</li>
        <li>✅ 组件渲染成功</li>
      </ul>
    </div>
  </div>
</template>

<script setup lang="ts">
console.log('TestView 组件已加载')
</script>

<style scoped>
.test-container {
  width: 100%;
  padding: 2rem;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.test-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

h1 {
  color: white;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

p {
  color: white;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

h2 {
  color: #333;
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  color: #666;
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
</style> 